<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>在线尝试 Bootstrap 实例</title>
    <meta name="viewport" content="width=device-width,
                                     initial-scale=1.0,
                                     maximum-scale=1.0,
                                     user-scalable=no">

    <link rel="stylesheet" href="css/bootstrap.css">
    <script src="js/jquery-3.2.1.js"></script>
    <script src="js/bootstrap.js"></script>
</head>
<body>


 <!--   这是一个jquery 属性选择器的例子 -->

<div class="container">
     <div id="mydiv" data-michael="gaodandan">dandan da shu</div>
    <button type="button" id="myBtn">start</button>
    <script>
        $(function () {

         $("#myBtn").click(function () {

            $("[data-michael='gaodandan']").css("color","red");

             $("[data-michael='gaodandan']").html("f me,get into me.");

         });


        }
            );
    </script>

</div>
</body>
</html>